:root{
  --el-menu-base-level-padding: 16px;
}

* {
  margin: 0;
  padding: 0;
}

html,
body,
#app,
.wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  font-family: 'PingFang SC', 'Helvetica Neue', Helvetica, 'microsoft yahei',
    arial, STHeiTi, sans-serif;
}

a {
  text-decoration: none;
}

.el-table th {
  background-color: #f5f7fa !important;
}

.pagination {
  margin: 20px 0;
  text-align: right;
}

.plugins-tips {
  padding: 20px 10px;
  margin-bottom: 20px;
}

.el-button + .el-tooltip {
  margin-left: 10px;
}

.el-table tr:hover {
  background: #f6faff;
}
.el-menu--popup {
  padding: 0 !important;
  box-shadow: 1px 1px 10px -3px rgba(0, 0, 0, 0.8) !important;
}
.mgb20 {
  margin-bottom: 20px;
}

.move-enter-active {
  transition: opacity 0.2s ease;
}
.move-leave-active {
  transition: all 0.1s ease;
}

.move-enter-from {
  opacity: 0;
}
.move-leave-to {
  opacity: 0;
  transform: translateX(5%);
}

.show-enter-active {
  transition: opacity 0.2s;
}
.show-leave-active {
  transition: opacity 0.3s;
}

.show-enter-from {
  opacity: 0;
}
.show-leave-to {
  opacity: 0;
}

/*BaseForm*/

.form-box {
  width: 600px;
}

.form-box .line {
  text-align: center;
}

.el-time-panel__content::after,
.el-time-panel__content::before {
  margin-top: -7px;
}

.el-time-spinner__wrapper
  .el-scrollbar__wrap:not(.el-scrollbar__wrap--hidden-default) {
  padding-bottom: 0;
}

/* 滚动条样式 */
div::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  position: absolute;
  /**/
}
div::-webkit-scrollbar-track {
  background: rgb(239, 239, 239);
  border-radius: 2px;
}
div::-webkit-scrollbar-thumb {
  background: #bfbfbf;
  border-radius: 10px;
  transition: background 0.5s;
}
div::-webkit-scrollbar-thumb:hover {
  background: #999;
}

.sidebar-el-menu:not(.el-menu--collapse)::-webkit-scrollbar {
  width: 2px;
  height: 2px;
  position: absolute;
  /**/
}
.sidebar-el-menu:not(.el-menu--collapse)::-webkit-scrollbar-track {
  background: rgb(239, 239, 239);
  border-radius: 2px;
}
.sidebar-el-menu:not(.el-menu--collapse)::-webkit-scrollbar-thumb {
  background: #bfbfbf;
  border-radius: 10px;
  transition: background 0.5s;
}
.sidebar-el-menu:not(.el-menu--collapse)::-webkit-scrollbar-thumb:hover {
  background: #999;
}

// 确认框
.el-message-box {
  position: relative;
  top: -100px;
}

// 隐藏高德地图左下角logo
.amap-logo {
  display: none;
  opacity: 0 !important;
}
.amap-copyright {
  opacity: 0;
  display: none !important;
}

// flex布局
.flex {
  display: flex;
}
.flex-1 {
  flex: 1;
}
.flex-column {
  display: flex;
  flex-direction: column;
}
.flex-wrap {
  flex-wrap: wrap;
}
.align-center {
  align-items: center;
}
.align-end {
  align-items: flex-end;
}

.justify-center {
  justify-content: center;
}
.justify-end {
  justify-content: end;
}
.justify-between {
  justify-content: space-between;
}
.justify-around {
  justify-content: space-around;
}

// 表单查询布局
.content-flex {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  margin-left: -5px;
}
.flex-item {
  margin: 5px;
}

// 页面布局
.page-wrap {
  height: 100%;
  width: 100%;
  box-sizing: border-box;
  padding: 25px 20px;
  display: flex;
  flex-direction: row;
}

.page-title {
  font-style: normal;
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
  font-feature-settings: 'salt' on, 'liga' off;
  color: #374560;
  margin: 16px 0 16px 0px;
}

.form-wrap {
  display: flex;
  flex-direction: column;
  margin-top: 16px;
  box-sizing: border-box;
  padding: 20px;
  background: #fff;
  box-shadow: 1px 1px 5px #fff;
  flex: 1;
  overflow: hidden;
}

// 表单布局
.table {
  height: 100%;
  width: 100%;
  background: #fff;
  padding: 0 16px 0 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  overflow: auto;
}

.table-wrap{
  flex: 1;
  overflow: hidden;
  box-sizing: border-box;
  margin-top: 20px;
}

// 标签页样式
.table-tabs {
  height: 100%;
  display: flex;
  flex-direction: column;
  .el-tabs__content {
    flex: 1;
    .el-tab-pane {
      height: 100%;
    }
  }
}

// 表单状态样式
.status_on,
.status_off,
.status_other {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 5px;
}
.status_on {
  background: #67c23a;
}
.status_off {
  background: #f56c6c;
}
.status_other {
  background: #909399;
}
.white{
  color: #fff !important;
}
.noColor_bk{
  background: transparent !important;
}
